#coding:utf-8
import cx_Oracle
#作为工具类
#cx_Oracle('用户名/密码@端口号/数据源')
db = cx_Oracle.connect('xm/111111@localhost:1521/xe')
#print(db)
cr = db.cursor()